package com.ly.pj.goods.service;

import com.ly.pj.goods.pojo.Goods;

import java.util.List;

/**
 * 用于定义商品业务逻辑的接口
 */
public interface GoodsService {
    int updateGoods(Goods goods);
    Goods findById(Integer id);
    int saveGoods(Goods entity);
    int deleteById(Integer id);
    List<Goods> findGoods();
}
